{% extends "base.html" %}
{% block title %}
    <title>apply subcategory</title>
{% endblock %}
<body>
{% block detail %}
    <div class="main">
        <!-- 标题开始 -->


            <form action="/applyboard/" method="post" >{% csrf_token %}
                {% if error %}
                {{ error }}
                {% endif %}
    {{form.as_p}}
                <input type="submit" value="申请圈子" class="aticleBtn" />
            </form>
    已申请的圈子<br>
    {% for board in list %}

      name:{{ board.name }}<br>
      Is active:{{ board.is_active }}

    {% endfor%}
    </div>

{% endblock %}

</body>

</html>